Row- and column-major order